<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
    <div id="root">
        <input type="text" v-bind:value="name">嘻嘻哈哈
        <input type="text" v-model:value="name">嘻嘻哈哈

        <input type="text" v-bind:value="name">嘻嘻哈哈<br>
        <input type="text" v-model="name">嘻嘻哈哈
        <h1 :x="name">{{name}}</h1>
    </div>

    <script type="text/javascript" >
        new Vue({
            el:"#root",
            data:{
              name : "你好"
            }
        })
    </script>
</body>
</html>